<script setup>
import Aside from '../components/Aside.vue';
import NavHeader from '../components/navHeader.vue';


</script>

<template>

   <div class="common-layout">
    <el-container>
      <el-aside width="200px">
        <Aside></Aside>
      </el-aside>
      <el-container>
        <el-header >
          <NavHeader></NavHeader>
        </el-header>
        <el-main>
          <RouterView/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style lang="less" scoped>
.common-layout{
    height: 100%;
    .el-container{
        height: 100%;

        .el-header{
          padding:0;
        }
      
    }
}

</style>